package org.egedede.processmanager.events;

import org.egedede.processmanager.SingleProcess;

public class ProcessEvent{
	public static final int STARTED=0;
	public static final int FINISHED = 1;
	
	private final int type;
	private final SingleProcess process;

	public ProcessEvent(int type, SingleProcess process){
		this.type = type;
		this.process = process;
	}
	
	public int getType(){
		return this.type;
	}
	
	public SingleProcess getProcess(){
		return this.process;
	}
}